home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / interface / GroupsDlgSharedFolders.h < prev    next >
C/C++ Source or Header  |  2011-11-06  |  4KB  |  111 lines

  1. // FileZilla Server - a Windows ftp server
  2.  
  3. // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
  4.  
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18.  
  19. #if !defined(AFX_GROUPSDLGSHAREDFOLDERS_H__3548112C_F36E_42D1_B073_78272B897DDA__INCLUDED_)
  20. #define AFX_GROUPSDLGSHAREDFOLDERS_H__3548112C_F36E_42D1_B073_78272B897DDA__INCLUDED_
  21.  
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25.  
  26. #include "..\Accounts.h"
  27.  
  28. /////////////////////////////////////////////////////////////////////////////
  29. // Dialogfeld CGroupsDlgSharedFolders 
  30. class CGroupsDlg;
  31. class CGroupsDlgSharedFolders : public CSAPrefsSubDlg
  32. {
  33. // Konstruktion
  34. public:
  35.     CGroupsDlgSharedFolders(CGroupsDlg *pOwner);   // Standardkonstruktor
  36.     ~CGroupsDlgSharedFolders();
  37.  
  38.     BOOL DisplayGroup(const t_group *pGroup);
  39.     BOOL SaveGroup(t_group *pGroup);
  40.     void SetCtrlState();
  41.     CString Validate();
  42.     
  43. protected:
  44. // Dialogfelddaten
  45.     //{{AFX_DATA(CGroupsDlgSharedFolders)
  46.     enum { IDD = IDD_GROUPS_SHAREDFOLDERS };
  47.     CButton    m_cDirsCreate;
  48.     CButton    m_cDirsDelete;
  49.     CButton    m_cDirsList;
  50.     CButton    m_cDirsSubdirs;
  51.     CButton m_cAutoCreate;
  52.     CButton    m_cFilesRead;
  53.     CButton    m_cFilesWrite;
  54.     CButton    m_cFilesDelete;
  55.     CButton    m_cFilesAppend;
  56.     CListCtrl    m_cDirs;
  57.     BOOL    m_bDirsCreate;
  58.     BOOL    m_bDirsDelete;
  59.     BOOL    m_bDirsList;
  60.     BOOL    m_bDirsSubdirs;
  61.     BOOL    m_bAutoCreate;
  62.     BOOL    m_bFilesAppend;
  63.     BOOL    m_bFilesDelete;
  64.     BOOL    m_bFilesRead;
  65.     BOOL    m_bFilesWrite;
  66.     int        m_nLnk;
  67.     int        m_nRelative;
  68.     //}}AFX_DATA
  69.  
  70.  
  71. // ▄berschreibungen
  72.     // Vom Klassen-Assistenten generierte virtuelle Funktionsⁿberschreibungen
  73.     //{{AFX_VIRTUAL(CGroupsDlgSharedFolders)
  74.     public:
  75.     virtual BOOL PreTranslateMessage(MSG* pMsg);
  76.     protected:
  77.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV-Unterstⁿtzung
  78.     //}}AFX_VIRTUAL
  79.  
  80. // Implementierung
  81. protected:
  82.     CGroupsDlg *m_pOwner;
  83.     CImageList m_imagelist;
  84.     
  85.     // Generierte Nachrichtenzuordnungsfunktionen
  86.     //{{AFX_MSG(CGroupsDlgSharedFolders)
  87.     virtual BOOL OnInitDialog();
  88.     afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  89.     afx_msg void OnItemchangedDirs(NMHDR* pNMHDR, LRESULT* pResult);
  90.     afx_msg void OnItemchangingDirs(NMHDR* pNMHDR, LRESULT* pResult);
  91.     afx_msg void OnDirmenuAdd();
  92.     afx_msg void OnDirmenuRemove();
  93.     afx_msg void OnDirmenuRename();
  94.     afx_msg void OnDirmenuSetashomedir();
  95.     afx_msg void OnEndlabeleditDirs(NMHDR* pNMHDR, LRESULT* pResult);
  96.     afx_msg void OnDblclkDirs(NMHDR* pNMHDR, LRESULT* pResult);
  97.     afx_msg void OnFilesWrite();
  98.     afx_msg void OnDiradd();
  99.     afx_msg void OnDirremove();
  100.     afx_msg void OnDirrename();
  101.     afx_msg void OnDirsetashome();
  102.     afx_msg void OnDirmenuEditAliases();
  103.     //}}AFX_MSG
  104.     DECLARE_MESSAGE_MAP()
  105. };
  106.  
  107. //{{AFX_INSERT_LOCATION}}
  108. // Microsoft Visual C++ fⁿgt unmittelbar vor der vorhergehenden Zeile zusΣtzliche Deklarationen ein.
  109.  
  110. #endif // AFX_GROUPSDLGSHAREDFOLDERS_H__3548112C_F36E_42D1_B073_78272B897DDA__INCLUDED_
  111.